import request from '@/config/axios'


//账号详情
export const userInfo = (params) => {
    return request.get({ url: '/user/info', params })
}


//账号列表
export const userList = (params) => {
    return request.get({ url: '/user/list', params })
}


//新增账号
export const userInsert = (data) => {
    return request.post({ url: '/user/add', data })
}


//修改账号
export const userUpdate = (data) => {
    return request.post({ url: '/user/update', data })
}

//删除账号
export const userDelete = (params) => {
    return request.get({ url: '/user/del', params })
}


